package wang.aweb.childcar.model.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import wang.aweb.childcar.model.pojo.Deposit;
import wang.aweb.childcar.model.query.DepositParam;

import java.util.List;

@Repository
public interface DepositMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Deposit record);

    int insertSelective(Deposit record);

    Deposit selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Deposit record);

    int updateByPrimaryKey(Deposit record);

    List<Deposit> selectList(@Param("query") DepositParam query);
}